Go to the source code of this file.
| typedef void(* MBIM_INDICATION_CALLBACK)(uint8_t *deviceServiceId, uint32_t cid, uint8_t *informationBuffer, uint32_t informationBufferLength, void *pIndicationCallbackContext) |
This funcion prototype represents the callback which is called by the MBIM transport when a MBIM indication is received.
- Parameters
-
| [in] | informationBuffer | Indication's informationBuffer. |
| [in] | informationBufferLength | Number of bytes in indication's informationBuffer. |
| [in] | pIndicationCallbackContext | User context supplied when indicator was initialized. |
This structure abstracts a MBIM indication callback. Users who wish to be notified of MBIM indications can register one of these objects with the MbimTransport object using MbimTransport_AttachIndicator/MbimTransport_DetachIndicator calls.
- Parameters
-
| pPrev |
- A link so that this object can be stored in a linked list by the transport layer. This points to the previous object or NULL if this is the first object in the list.
|
| pNext |
- A link so that this object can be stored in a linked list by the transport layer. This points to the next object or NULL if this is the last object in the list.
|
| pIndicationCallback |
- User callback for MBIM indication.
|
| pIndicationCallbackContext |
- User context for user callback.
|
Initialize the indicator object.
- Parameters
-
| [in] | pThis | The primary object of this call. |
| [in] | pIndicationCallback | User function to be be called when MBIM indication is received. |
| [in] | pIndicationCallbackContext | A user context for callback. |